home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / snmp / mib2c-data / m2c_setup_table.m2i < prev    next >
Encoding:
Text File  |  2009-03-19  |  1.7 KB  |  49 lines

  1. ########################################################################
  2. ## generic include for XXX. Do not use directly.
  3. ##
  4. ## $Id: m2c_setup_table.m2i 12086 2005-04-18 21:53:05Z rstory $
  5. ########################################################################
  6. @if $m2c_mark_boundary == 1@
  7. /** START code generated by $RCSfile$ $Revision: 12086 $ */
  8. @end@
  9. ########################################################################
  10. ##
  11. @if "$m2c_context_name" ne "$table"@
  12. @    eval $m2c_context_name = $table@
  13. @    eval $context = $table@
  14. @    if $m2c_report_progress == 1@
  15. @       print | +-> Processing table $context@
  16. @    end@
  17. @    eval $m2c_context_item = "rowreq_ctx->"@
  18. @    eval $m2c_table_external_indexes = count_external_indexes($context)@
  19. ##
  20. @    eval $m2c_undo_embed = $mfd_default_undo_embed@
  21. @    eval $m2c_gda_todo_suppress = 0@ # todo comments
  22. ##
  23. ##   user override
  24. ##
  25. @    include ${m2c_defaults_dir}table-${context}.m2d@
  26. ##
  27. @    eval $m2c_data_item_base = "${m2c_context_item}data"@
  28. @    if $m2c_data_allocate == 1@
  29. @        eval $m2c_data_item = "${m2c_data_item_base}->"@
  30. @    else@
  31. @        eval $m2c_data_item = "${m2c_data_item_base}."@
  32. @    end@
  33. @    if $m2c_table_settable == 0@
  34. @        eval $m2c_undo_embed = 1@
  35. @    end@
  36. @    eval $m2c_undo_item_base = "${m2c_context_item}undo"@
  37. @    if $m2c_undo_embed == 1@
  38. @        eval $m2c_undo_item = "${m2c_undo_item_base}."@
  39. @    else@
  40. @        eval $m2c_undo_item = "${m2c_undo_item_base}->"@
  41. @    end@
  42. @end@
  43. @eval $m2c_node_name = ""@
  44. ########################################################################
  45. ########################################################################
  46. @if $m2c_mark_boundary == 1@
  47. /** END code generated by $RCSfile$ $Revision: 12086 $ */
  48. @end@
  49.